export default {
  path: "/warehouse",
  name: "/warehouse/save",
  meta: {
    icon: "line-md:clipboard-arrow-twotone",
    title: "仓库管理",
    rank: 3
  },
  children: [
    {
      path: "/warehouse/list",
      name: "AllocateList",
      component: () => import("@/views/warehouse/AllocateList.vue"),
      meta: {
        icon: "line-md:clipboard-list-twotone",
        title: "调拨列表",
        showParent: true
      }
    },
    {
      path: "/warehouse/save",
      name: "AllocateSave",
      component: () => import("@/views/warehouse/AllocateSave.vue"),
      meta: {
        icon: "line-md:document-add-twotone",
        title: "新增调拨单",
        showParent: true
      }
    },
    {
      path: "/allocate/edit/:id",
      name: "AllocateEdit",
      component: () => import("@/views/warehouse/AllocateEdit.vue"),
      meta: {
        icon: "line-md:document-add-twotone",
        title: "编辑调拨单",
        showParent: true,
        showLink: false
      }
    },
    {
      path: "/inventory/list",
      name: "inventoryList",
      component: () => import("@/views/warehouse/InventoryList.vue"),
      meta: {
        icon: "line-md:list-3-filled",
        title: "盘点列表",
        showParent: true
      }
    },
    {
      path: "/inventory/query",
      name: "inventoryQuery",
      component: () => import("@/views/warehouse/inventoryQuery.vue"),
      meta: {
        icon: "line-md:text-box-twotone-to-text-box-multiple-twotone-transition",
        title: "库存查询",
        showParent: true
      }
    }
  ]
} satisfies RouteConfigsTable;
